Component org.nuxeo.ecm.platform.oauth.auth.defaultConfig
In bundle org.nuxeo.ecm.platform.oauth
Resolution Order
431
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime
framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.
Contributions
- org.nuxeo.ecm.platform.oauth.auth.defaultConfig--authenticators
- org.nuxeo.ecm.platform.oauth.auth.defaultConfig--startURL
- org.nuxeo.ecm.platform.oauth.auth.defaultConfig--configuration
XML Source
<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.oauth.auth.defaultConfig">
<extension target="org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService"
point="authenticators">
<authenticationPlugin name="OAUTH2_AUTH" enabled="true" class="org.nuxeo.ecm.platform.oauth2.NuxeoOAuth2Authenticator">
</authenticationPlugin>
</extension>
<extension target="org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService" point="startURL">
<startURLPattern>
<patterns>
<pattern>oauth2Grant.jsp</pattern>
<pattern>oauth2/authorize</pattern>
</patterns>
</startURLPattern>
</extension>
<extension target="org.nuxeo.runtime.ConfigurationService" point="configuration">
<documentation>
Property to set the oauth2 token expiration duration. Default is 60 minutes.
@since 2021.14
</documentation>
<property name="nuxeo.oauth2.token.expiration.duration">60m</property>
</extension>
</component>